home *** CD-ROM | disk | FTP | other *** search
- 100 SCREEN 3 'TOWNSé═ 100 SCREEN@ 0
- 110 CONSOLE 0,25,0,1 'TOWNSé═ 110 CONSOLE 0,25,0
- 120 WIDTH 80,25
- 130 CLS 3 'TOWNSé═ 130 CLS 0
- 140 LINE(0,300)-(639,399),4,BF 'TOWNSé═ 140 LINE(0,300)-(639,399),PSET,4,BF
- 150 WHILE -1 'û│î└âïü[âv
- 160 LOCATE 0,15
- 170 PRINT " "
- 180 LOCATE 0,15
- 190 INPUT "ôⁿÄ╦èpôxé═";RI 'ôⁿÄ╦èpôxé≡ôⁿù═
- 200 Y = 0 'ïOÉ╒é≡ò`é¡ïNô_ Yì└òW
- 210 X = 320 + 300 * TAN( RI * 3.1416 / 180 ) 'ïOÉ╒é≡ò`é¡ïNô_ Xì└òW
- 220 D = 1 'ê┌ô«ò√îⁿ
- 230 WHILE Y >= 0
- 240 LINE(X-30,Y)-(X+30,Y),6 'TOWNSé═ 240 LINE(X-30,Y)-(X+30,Y),PSET,6
- 250 X = X - COS( ( 90 - RI ) * 3.1416 / 180 ) 'ïOÉ╒é╠ê┌ô« Xì└òW
- 260 Y = Y + D * SIN( ( 90 - RI ) * 3.1416 / 180 ) 'ïOÉ╒é╠ê┌ô« Yì└òW
- 270 IF Y > 300 THEN D = -1 'ö╜Ä╦é╡é╜éτYò√îⁿé╠ê┌ô«ò√îⁿé≡ïté╔é╖éΘ
- 280 WEND
- 290 WEND